package com.lagou.springbootwork.service;

import com.github.pagehelper.PageInfo;
import com.lagou.springbootwork.entity.Article;

import java.util.List;

/**
 * @ClassName IArticleService
 * @Deseription TODO
 * @Author fx
 * @Date 2021/1/7 0007 21:56
 * @Version 1.0
 **/
public interface IArticleService {

    public PageInfo getAllByPage(int page,int size) throws Exception;

    public Article getById(Integer id) throws Exception;
}
